﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dal;
using IDal;
using Model;

namespace DalFactory
{
    public partial class DalFactory
    {
        public static IUserInfoDal GetUserInfoDal()
        {
		   return new UserInfoDal();
        }

        //脱离数据模型
        public static ModelContainer GetDbContext()
        {
			return (ModelContainer) DbContextUtil.GetCurrentDbContext();
        }
	}
}
    